import { request, upload } from '../../../request';

// 获取app列表
export function getAppList(params: any) {
  return request({
    url: '/mes/mes-pda-application/list',
    method: 'get',
    params
  });
}

// 新增上传App
export function uplaodApp(data: any, files: any) {
  return upload({
    url: '/mes/mes-pda-application/add/new',
    method: 'POST',
    data,
    files
  });
}

// 删除app
export function delApp(data: any) {
  return request({
    url: '/mes/mes-pda-application/deleteBatch',
    method: 'post',
    data
  });
}
